Fix vertical cursor motion from start of R2L lines in L2R paragraphs.
authorEli Zaretskii <eliz@gnu.org>
Sat, 27 Aug 2011 18:11:49 +0000 (21:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Aug 2011 18:11:49 +0000 (21:11 +0300)
commite75e57914d763940cea6efcbadc5537b1696adb4
tree1e4ffa2c4c45db92942635bc1f72f19a1595a208
parent2486d3264740dd6abd92245bb403bcd7f01d2286
Fix vertical cursor motion from start of R2L lines in L2R paragraphs.

 src/xdisp.c (move_it_to): Don't bail out early when reaching
 position beyond to_charpos, if we are scanning backwards.
 (move_it_vertically_backward): When DY == 0, make sure we get to
 the first character in the line after the newline.
src/ChangeLog
src/xdisp.c